<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>


<s:iterator value="cateMap" id="cm">
	<tr style="background:#ccc;">
		<td style="border:1px #222 solid;">|--|--<s:property value="#cm.key.name" /></td>
		<td style="border:1px #222 solid;"><s:property value="#cm.key.url" /></td>
		<td style="border:1px #222 solid;"><s:property value="#cm.key.cateNote" /></td>
		<td style="border:1px #222 solid;font-size:12px;">
			<a href="cate_insert.action?cate.cateId=<s:property value="#cm.key.cateId" />">&nbsp;&nbsp;[添加子模块]&nbsp;&nbsp;</a>
			<a href="cate_upload.action?cate.cateId=<s:property value="#cm.key.cateId" />">&nbsp;&nbsp;[编辑模块]&nbsp;&nbsp;</a>
			<a href="cate_del.action?cate.cateId=<s:property value="#cm.key.cateId" />">&nbsp;&nbsp;[删除模块]</a>
		</td>
	</tr>
	
	<s:iterator value="#cm.value" id="cl">
		<tr>
			<td style="border:1px #222 solid;">|--|--|--<s:property value="#cl.name" /></td>
			<td style="border:1px #222 solid;"><s:property value="#cl.url" /></td>
			<td style="border:1px #222 solid;"><s:property value="#cl.cateNote" /></td>
			<td style="border:1px #222 solid;font-size:12px;">
				<a href="cate_insert.action?cate.cateId=<s:property value="#cl.cateId" />">&nbsp;&nbsp;[添加子模块]&nbsp;&nbsp;</a>
				<a href="cate_upload.action?cate.cateId=<s:property value="#cl.cateId" />">&nbsp;&nbsp;[编辑模块]&nbsp;&nbsp;</a>
				<a href="cate_del.action?cate.cateId=<s:property value="#cl.cateId" />">&nbsp;&nbsp;[删除模块]</a>
			</td>
		</tr>
	</s:iterator>

</s:iterator>
			
			